package cn.kgc.service;

import cn.kgc.bean.System;
import cn.kgc.bean.House;
import com.github.pagehelper.PageInfo;

public interface SystemService {
    //登录
    public System login (String username ,String password);
    //查询公寓表
    PageInfo<House> selectAll(Integer pageNum, String keyword);
    //添加公寓
    public  Integer saveHouse(House house);
    //根据id查询公寓
    public House selectAllById(Integer id);
    //修改公寓信息
    public  Integer updateHouse(House house);
    //根据 id删除公寓信息
    public  Integer delHouse(Integer id);
    }
